#!/bin/bash

eval $(xdotool getdisplaygeometry --shell)

#

win=$(xdotool search --sync Guake!)
if [ -z "$win" ]; then
    guake -e 'screen -ddr work'
    win=$(xdotool search --sync Guake!)
fi


#xdotool windowmove $win 0 0

#win=$(xdotool search --sync "Volume Control")
#height=$(xdotool getwindowgeometry win | grep Geo | sed 's/.*x//')
#xdotool windowmove $win 0 $(expr $HEIGHT - $height - 21)
